package com.cqwshzj.framework.dao.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.cqwshzj.common.column.JobStrategyColumn;

import java.io.Serializable;

/**
 * null
 * @TableName job_strategy
 */
@TableName(value ="job_strategy")
public class JobStrategy implements Serializable {
    /**
     * 
     */
    @TableId(value="id", type = IdType.AUTO)
    private Integer id;

    /**
     * �������ͱ�ţ���ӦJOB_TYPE�������
     */
    @TableField(JobStrategyColumn.JOB_TYPE)
    private Integer jobType;

    /**
     * ��������
     */
    @TableField(JobStrategyColumn.STRT_TYPE)
    private Integer strtType;

    /**
     * ����ʼִ��ʱ��
     */
    @TableField(JobStrategyColumn.START_TIME)
    private String startTime;

    /**
     * ����ִ��ʱ�䴰�ڣ���λ����
     */
    @TableField(JobStrategyColumn.TIME_WINDOW)
    private Integer timeWindow;

    /**
     * ������Բ���������������ļ��ʱ�䣬��λ����
     */
    @TableField(JobStrategyColumn.INTV_MIN)
    private String intvMin;

    /**
     * �´�����ִ������
     */
    @TableField(JobStrategyColumn.NEXT_RUN_DATE)
    private String nextRunDate;

    /**
     * �������״̬��0 ����Ч��1 ��Ч 
     */
    @TableField(JobStrategyColumn.STATE)
    private String state;

    /**
     * ������
     */
    @TableField(JobStrategyColumn.CREATOR)
    private String creator;

    /**
     * ����ʱ��
     */
    @TableField(JobStrategyColumn.CRT_TIME)
    private String crtTime;

    /**
     * �޸���
     */
    @TableField(JobStrategyColumn.UPDATER)
    private String updater;

    /**
     * �޸�����
     */
    @TableField(JobStrategyColumn.UPD_TIME)
    private String updTime;

    /**
     * ��������
     */
    @TableField(JobStrategyColumn.STRT_DESC)
    private String strtDesc;

    /**
     * �������
     */
    @TableField(JobStrategyColumn.PARAMS)
    private String params;

    /**
     * ������ִ��ʱ�䴰���������ʱ��
     */
    @TableField(JobStrategyColumn.JOB_RUN_TIMEOUT)
    private Integer jobRunTimeout;

    /**
     * ��������ID
     */
    @TableField(JobStrategyColumn.CRT_ORG_ID)
    private String crtOrgId;

    /**
     * �޸Ļ���ID
     */
    @TableField(JobStrategyColumn.UPD_ORG_ID)
    private String updOrgId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    public JobStrategy() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getJobType() {
        return jobType;
    }

    public void setJobType(Integer jobType) {
        this.jobType = jobType;
    }

    public Integer getStrtType() {
        return strtType;
    }

    public void setStrtType(Integer strtType) {
        this.strtType = strtType;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public Integer getTimeWindow() {
        return timeWindow;
    }

    public void setTimeWindow(Integer timeWindow) {
        this.timeWindow = timeWindow;
    }

    public String getIntvMin() {
        return intvMin;
    }

    public void setIntvMin(String intvMin) {
        this.intvMin = intvMin;
    }

    public String getNextRunDate() {
        return nextRunDate;
    }

    public void setNextRunDate(String nextRunDate) {
        this.nextRunDate = nextRunDate;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public String getCrtTime() {
        return crtTime;
    }

    public void setCrtTime(String crtTime) {
        this.crtTime = crtTime;
    }

    public String getUpdater() {
        return updater;
    }

    public void setUpdater(String updater) {
        this.updater = updater;
    }

    public String getUpdTime() {
        return updTime;
    }

    public void setUpdTime(String updTime) {
        this.updTime = updTime;
    }

    public String getStrtDesc() {
        return strtDesc;
    }

    public void setStrtDesc(String strtDesc) {
        this.strtDesc = strtDesc;
    }

    public String getParams() {
        return params;
    }

    public void setParams(String params) {
        this.params = params;
    }

    public Integer getJobRunTimeout() {
        return jobRunTimeout;
    }

    public void setJobRunTimeout(Integer jobRunTimeout) {
        this.jobRunTimeout = jobRunTimeout;
    }

    public String getCrtOrgId() {
        return crtOrgId;
    }

    public void setCrtOrgId(String crtOrgId) {
        this.crtOrgId = crtOrgId;
    }

    public String getUpdOrgId() {
        return updOrgId;
    }

    public void setUpdOrgId(String updOrgId) {
        this.updOrgId = updOrgId;
    }

    @Override
    public String toString() {
        return "JobStrategy{" +
                "id=" + id +
                ", jobType=" + jobType +
                ", strtType=" + strtType +
                ", startTime='" + startTime + '\'' +
                ", timeWindow=" + timeWindow +
                ", intvMin='" + intvMin + '\'' +
                ", nextRunDate='" + nextRunDate + '\'' +
                ", state='" + state + '\'' +
                ", creator='" + creator + '\'' +
                ", crtTime='" + crtTime + '\'' +
                ", updater='" + updater + '\'' +
                ", updTime='" + updTime + '\'' +
                ", strtDesc='" + strtDesc + '\'' +
                ", params='" + params + '\'' +
                ", jobRunTimeout=" + jobRunTimeout +
                ", crtOrgId='" + crtOrgId + '\'' +
                ", updOrgId='" + updOrgId + '\'' +
                '}';
    }
}